package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户修改页面与字段关系对象 page_field_user
 *
 * @author ruoyi
 * @date 2023-08-01
 */
public class PageFieldUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 页面 */
    @Excel(name = "页面")
    private String page;

    /** 类型(pgta,pgtsr,pgtm,nics) */
    @Excel(name = "类型(pgta,pgtsr,pgtm,nics)")
    private String type;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    /** 是否显示 */
    @Excel(name = "是否显示")
    private String isShow;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** page_field的id */
    @Excel(name = "page_field的id")
    private Long fieldId;


    /** 字段名 */
    @Excel(name = "字段名")
    private String fieldName;

    /** 字段中文名 */
    @Excel(name = "字段中文名")
    private String fieldNameCn;


    public String getFieldName() {
        return fieldName;
    }

    public void setFieldName(String fieldName) {
        this.fieldName = fieldName;
    }

    public String getFieldNameCn() {
        return fieldNameCn;
    }

    public void setFieldNameCn(String fieldNameCn) {
        this.fieldNameCn = fieldNameCn;
    }

    public String getPage() {
        return page;
    }

    public void setPage(String page) {
        this.page = page;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }
    public void setSort(Long sort)
    {
        this.sort = sort;
    }

    public Long getSort()
    {
        return sort;
    }
    public void setIsShow(String isShow)
    {
        this.isShow = isShow;
    }

    public String getIsShow()
    {
        return isShow;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setFieldId(Long fieldId)
    {
        this.fieldId = fieldId;
    }

    public Long getFieldId()
    {
        return fieldId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("delFlag", getDelFlag())
                .append("page", getPage())
                .append("type", getType())
                .append("sort", getSort())
                .append("isShow", getIsShow())
                .append("userId", getUserId())
                .append("fieldId", getFieldId())
                .toString();
    }
}
